﻿using System;
using System.Collections.Generic;

using System.Text;

namespace HZ.DrugTrade.Model.Query
{
    /// <summary>
    /// 医疗机构查询用实体类
    /// </summary>
    [Serializable]   
    public class Hospital : IQuery
    {

        /// <summary>
        /// 医疗机构编号
        /// </summary>
        public string HospitalID
        {
            set;
            get;
        }

        /// <summary>
        /// 医疗机构名称
        /// </summary>
        public string HospitalName
        {
            set;
            get;
        }

        /// <summary>
        /// 医疗机构地址
        /// </summary>
        public string HospitalAddress
        {
            set;
            get;
        }

        /// <summary>
        /// 联系人
        /// </summary>
        public string ContactPerson
        {
            set;
            get;
        }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string ContactTel
        {
            set;
            get;
        }

        /// <summary>
        /// 区域编号
        /// </summary>
        public string AreaID
        {
            set;
            get;
        }
        /// <summary>
        /// 新增功能
        /// 是否启用
        /// </summary>
        public int IsUing
        {
            set;
            get;
        }
        /// <summary>
        /// 1:县级；0：基层
        /// </summary>
        public string CountyOver { get; set; }
        
        /// <summary>
        /// 排序字段【格式如：UserID ASC,UserName DESC, IsAdmin ASC】
        /// </summary>
        public string SortFields { get; set; }

        /// <summary>
        /// 自定义查询字段[格式: UserID = '1234' AND Name = 'Zeus2' AND ID NOT (SELECT ID FROM XX)]
        /// </summary>
        public string Append { get; set; }
    }
}
